Use ASIO for wait.