Non-blocking wait