Socket: Do not decrease number of pending connections twice

The number of pending connections of the parent socket wass decreased
when the sanity check on a socket failed and in case of an unaccepted
socket, also when it was deleted. This caused an underflow.

Solves bug #87