CFY-847 fixed the ensure_connectivity_with_management_server method