# File lib/net/ssh/authentication/pageant.rb, line 162
      def closed?
        @res.nil? && @pos.zero?
      end