[task] added: thread pool implementation