Call ConnectionManager::closeAll on shutdown