private bool canConnectTo(Instance info)
 {
     var client = new OpenIDE.Core.EditorEngineIntegration.Client();
     client.Connect(info.Port, (s) => {});
     var connected = client.IsConnected;
     client.Disconnect();
     if (!connected) {
         try {
             Process.GetProcessById(info.ProcessID);
         } catch {
             File.Delete(info.File);
         }
     }
     return connected;
 }