Use builtin ThreadPool and use signal handler