// todo oio event loop shutdown