 
 void Modem_Disconnect()
 {
+    char temp[15];
     Modem_isCommandMode = true;
     Modem_isConnected = false;
     Modem_isRinging = false;    
 
-    wifly.close();
-
     // TODO - According to http://totse2.net/totse/en/technology/telecommunications/trm.html
     //		  The BBS should detect <CR><LF>NO CARRIER<CR><LF> as a dropped carrier sequences.
     //		  DMBBS does not honor this and so I haven't sucessfully tested it, thus it's commented out.
 
     // LB: Added back in for user feedback
 
+    delay(500);
+    sprintf_P(temp, PSTR("\n\rNO CARRIER\n\r"));
+    DisplayBothP(temp);
     delay(100);
-    DisplayBoth(F("NO CARRIER"));
+
+    if (wifly.available() == -1)
+        wifly.close();
 
     digitalWriteFast(C64_DTR, Modem_ToggleCarrier(false));
 }

        {
            if (Modem_flowControlEnabled || BAUD_RATE >= MIN_FLOW_CONTROL_RATE || baudMismatch)
            {
                sprintf(temp, "Wifi:%ld\n\nC64: %ld\n\nRTS: %ld", rnxv_chars, c64_chars, c64_rts_count);
            }
            else
            {
                sprintf(temp, "Wifi:%ld\n\nC64: %ld", rnxv_chars, c64_chars);
            }
            Display(temp);
        }

        QuantumLinkReloaded();
        return;
    }*/

    //lastHost = hostname;
    //lastPort = port;

    Connect(hostname, port, false);
}
