CFY-847 fixed wait for server to become active method