Issue #15. Added another set of checks to drop zombie sockets.