Added Watch Dog timer

to prevent system crash