Disconnect if Socket failure occurs