We're getting 504 BadGateway errors again in Run script. What's going on with the Excel Run script connector?

We're getting 504 BadGateway errors again in Run script. What's going on with the Excel Run script connector?
There are 3 things I'm doing to alleviate BadGateway errors using Run script.