Clean up output and add exponential request backoff