not initilizing any sockets if not calling telemtry from __main__