Handling timeouts

Any Rails-specific best practices for handling remote timeouts?
Specifically, I’m doing some Paypal/Website Payment Pro stuff and I’m
trying to handle the instances when their server takes a nap or
otherwise does not respond before my process times out.