removed threading from the socket implemenation