Added support for multithreaded work items to wresume