     @restart = (byteOffset) -> Promise.try () ->
       restartOffset = byteOffset
       undefined
-    
+
     # methods listed in complexPassthroughMethods, which will get a common logic wrapper
 
     @list = (path='.') ->

          sshClient.end()

    @logout = @end
    
    @destroy = () ->
      if connectionStatus == STATUSES.NOT_YET_CONNECTED || connectionStatus == STATUSES.DISCONNECTED
        wasDisconnected = true

      promisifiedClientMethods.read(handle, buffer, offset, length, position)
      .spread (bytesRead, buffer, position) ->
        { bytesRead, buffer, position }

    @wait = () ->  # no-op, will perform wrapper logic only


    # common promise, connection-check, and reconnect logic
    commonLogicFactory = (name, finishType, handler) ->
      if finishType == 'continue'
