Revert "Check socket disconnect"

This reverts commit 03f4445fcec48c262f21b0eef4e4936bfbe10fa7.