Revert "Added code to detect loss of data connection."

This reverts commit 30cfc7c4303985713834946b2b9ca1f64eec4bc9.