Fixing infinite loop when using default exponential backoff plugin for 500 responses