Close the Socket on Disconnect

DERP, should have been implemented since the original recode.