bugfix: odd threadlock happening when combining or_ and wait...
bugfix: subtle race condition caused by calling Promise.select, Promise.join, or Promise.collect when there were no available threads in the worker pool.