I think you can just catch HttpClientError here, log, and return False