`log_lb_unexpected_errors` logs all errors except 422. Does that help? In any case, I was thinking of making wait and interval time as global variable so that we can change it later.