Destroy timer on error

Show an error message and cancel a timer when the callback fails instead
of infinitely looping.

So instead of this: http://i.imgur.com/4kuOsZH.png
You'll get this: http://i.imgur.com/yiMqQcr.png