running one worker thread at a time