Stops the worker processes immediately without completing outstanding work. When the pool object is garbage collected terminate() will be called immediately.
multiprocessing.pool/Pool.terminate
Pool.terminate