Correct semantincs for error - disconnects socket