def stop_condition(errdata):
return -<NUM_LIT:1><EOL>
A stop condition is an optional function that
    determines whether Relay should exit.

    The input is an array of the error history between the target and metric.
    The output is -1 or an integer return code that gets passed to sys.exit(...)
      You should return -1 as long as you want Relay to continue operating