So I have around 700 API tests and there's random test that fails due to error 504 and this messes up my test run. My question is, how do I pass failing tests with error code 504 on the hook level? Because I don't want to apply the fix on test level since it would be a huge effort and hard to maintain.