What about just setting a shorter timeout?
non-Perl: Andy Ford
In reply to Re^2: Testing proxy "health" by andyford in thread Testing proxy "health" by hacker