reset io_service and clean result map (by James)