It’s quite weird to see this. Your hosting provider should investigate the slow response time issue rather than pointing back to Cloudflare.
The best way to eliminate Cloudflare is to pause the domain and show them the issue still persists (Error 524 will no longer display, but you might see something else)