Simplify WaitForNextStep and make it work against Win32 job queues