remove task from threadPool