introduced get_io_loop and removed in_loop, wait_complete and force_async