Check socket disconnect