removing socket.close() DO NOT CALL CLOSE