Created a ServerThreadPool which accepts a queue of tasks and executes any task