Add tests for HTTP 408 retries