making cloudConnection thread as daemon