small abbey (threadpool) implementation