hack together some threads
spinwaiting threadpool