private static void DisposeOf(Socket socket) { if(socket != null) { try { socket.Dispose(); } catch { } } }