Stop io_service more gracefully