Bug 838925: write an optional heartbeat file for every timeout check; r=dividehex