fix possible issue with reload of collections in cloud search server if one of the collections hasn't already connect

The existing code triggers an exception if we try to do a reload of a connection which is not already connected.