Arduino101 watchdog timer

I am looking for a way to implement a watchdog in my project. It will be a standalone weather station, and I have seen hangups due to TCP connections. I have seen the example from This works when only this runs, but locks up when added to my routines. From the comments, I suspect that it because he used timer 0. Is there a library that is compatible with millis, pwm, wifi?

I am still looking for a working watchdog that does not interfere with the wifi101 library. Anyone have any luck with this?