Read from socket to catch disconnects