Handling backend workflow timeouts?

I have a backend workflow that makes an API call to Apify and sometimes it can take 3-5min to get a response (because of Apify, not Bubble). When that happens, I get the following errors:

Screenshot_360

Is there a way to handle these errors in an API workflow and trigger an action afterwards?

Thanks

None currently other than upvoting my idea on the idea board to get something that will