Fixed a minor bug - changed pool.close() to pool.terminate() in order to actually kill finished processes.