 
     terminalView.on 'WebTermConnected', @bound 'updateSessions'
 
-    @setTerminalTimeout options.vmName, 15000
+    @setTerminalTimeout options.vmName, 15000, ->
+      terminalView.connectToTerminal()
 
     @appendTerminalTab terminalView
 

        KD.mixpanel "Open Webterm, fail", {vmName}

      if info?.state is 'RUNNING'
        @restoreTabs vmName
      else
        vmController.start vmName, (err, state)=>
          warn "Failed to turn on vm:", err  if err

    else
      @createNewTab vmName: vmName, mode: 'create'

  setTerminalTimeout: (vmName, delayMs, isRunningCallback) ->
    vmController = KD.getSingleton 'vmController'
    vmController.info vmName, KD.utils.getTimedOutCallback (err, vm, info)=>
      if err
