Cloudflare reuses open TCP connections for up to 15 minutes (900 seconds)
Source: Load balancers · Cloudflare Load Balancing docs
Yes for Error 524, but as far as i know just for Enterprise Customers and just up to 600s
Enterprise customers can increase the 524 timeout up to 600 seconds.