Kill watchdog thread when engine is stopped

Step 1 of stopping the engine via api. Stop the watchdog thread,
so we don't do anymore monitoring.

Change-Id: I3d78834ab3cf81643260a47efec7c738f7a2f63f
Merge "Kill watchdog thread when engine is stopped"