Extra check before WATCHDOG EXIT, race could cause this to occur

Added another check for watchdogTimeout being 0, as the watchdog
callback could occur due to a race condition when this was actually
0, and cause the shell to be killed