move the lock stealing code to the watchdog.

Rather than have each child try to do this, which can't really work well.
This does require that the watchdog needs to know about every lock we
define, but that might not be a bad thing.