diff --git a/src/sbbs3/ctrl/ClientFormUnit.cpp b/src/sbbs3/ctrl/ClientFormUnit.cpp
index c28ee7536906da1eff4645ba0d2c64bc20b93bb5..64130d008c62715c258ebfbaaaa5d8310a04afb1 100644
--- a/src/sbbs3/ctrl/ClientFormUnit.cpp
+++ b/src/sbbs3/ctrl/ClientFormUnit.cpp
@@ -92,8 +92,7 @@ void __fastcall TClientForm::CloseSocketMenuItemClick(TObject *Sender)
     State << isSelected;
 
     while(ListItem!=NULL) {
-        if(closesocket(atoi(ListItem->Caption.c_str()))==0)
-            socket_open(NULL, FALSE);
+        closesocket(atoi(ListItem->Caption.c_str()));
         ListItem=ListView->GetNextItem(ListItem,sdAll,State);
     }
 }