Treat any socket errors as a disconnect (fixes hanging app when error occurs)