Finished handleTimeout and added comments to TCPSock