Possible fix for the CLOSE_WAIT problem. Always call session_bailout when in CLIENT_EOF state