Fastagi: connection refused

How do you all handle the situation when a fastagi server process(es) are down? AGI(…) prints “Connection Refused” and returns -1.

I’d like to handle the return value and keeping chugging through my dial plan like nothing bad ever happened. Any tips about how to handle a AGI(…) returns -1 condition?

thx

Greg