Properly fix ThreadManager.waitForCompletionSigned-off-by: Ross Allan <[email protected]> (commit: 0d3e85f)