Gracefully close watchdog timer in event of unexpected exit.