# File lib/stomp/connection.rb, line 340
    def receive
      super_result = __old_receive
      if super_result.nil? && @reliable
        $stderr.print "connection.receive returning EOF as nil - resetting connection.\n"
        @socket = nil
        super_result = __old_receive
      end
      return super_result
    end