we should be destroying the socket not calling end