Run the event loop with NOWAIT and assert on the return value.