add notifyAll in delFromSockets()
close socket when handler exits