fixed issue with terminateAll

now terminates and deletes each worker in pool