Implemented adding new tasks to thread pool queue