added call for Loop::reset in HubManager::setHub and clock.restart in Loop::reset