remove unnecessary io_service::work objects