Has to be called every time numOfThreads is set to a value higher than 1! Terminates the threads used by executor service. Is idempotent (can be called multiple times without side-effects).
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.