Termination

To close down gracefully, the program should request the event loop to stop with the netio3::BaseEventLoop::stop() method and wait for the thread to stop.

evloop->stop();
ev_thread.join();