DRb and catching connection close


I post here as i have a problem that i can’t fix with DRb, i made two
(or more) servers connected together via DRb, and i want to catch the
“connection close” event if a script bug or just exit.

Drb raise an exception internally, but in a thread, so i can’t catch it.
And when the program try to contact a dead other one, it freezes,
because it isn’t aware of the deconnection.

Do u have an idea for catching this event without modify DRb class ?

Thanks in advance.