¸520 Error for API that is delaying a response

Hi, so i have a backend, that listens to post request, and then it delays response for max of 2 minutes, but after like 15 seconds of not getting response, Cloudflare kicks in and says that server returned unknown response while its just hanging and waiting for something. Any way to prevent this? some Cloudflare settings, header, anything?