fixed task queue thread procedure