code: function (callback) {
      checkPortStatus(port, host, opts, function (error, statusOfPort) {
        numberOfPortsChecked++
        if (statusOfPort === status) {
          foundPort = true
          callback(error)
        } else {
          port = portList ? portList[numberOfPortsChecked] : port + 1
          callback(null)
        }
      })
    }
docs: Checks the status of the port