           @finderPane.addSubView @fakeFinderView, '.nfinder .jtreeview-wrapper'
 
         else
-          @createNewTerminal { machine }
+          @createNewTerminal { machine, resurrectSessions: yes }
           @setActiveTabView @ideViews.first.tabView
           @forEachSubViewInIDEViews_ (pane) ->
             pane.isInitial = yes

    unless @fakeViewsDestroyed
      @fakeFinderView?.destroy()
      @fakeTabView?.removePane_ @fakeTerminalPane
      @createNewTerminal { machine }
      @setActiveTabView @ideViews.first.tabView
      @fakeViewsDestroyed = yes


      ideViewLength  = 0
      ideViewLength += ideView.tabView.panes.length  for ideView in @ideViews
      delete @generatedPanes[pane.view.hash]

      if session = pane.view.remote?.session
        @mountedMachine.getBaseKite().removeFromActiveSessions session

      @statusBar.showInformation()  if ideViewLength is 0

