Make it possible for waitForAndDispatchImmediately to bail if a sync message comes...