handling XHR disconnect. #63