thread safe Asio scheduler