Thread(pool) support for pykit