getpeername failure was not allowing the bad socket to continue being used.