# File bin/experimental-filter.rb, line 132
def wait_for_more(max_minutes)
  max_seconds = max_minutes * 60
  GC.start
  if sleep(max_seconds + 1) >= max_seconds
    # If we waited this long and there was no more mail, exit to free
    # up the system resources.
    exit
  end
end