Added execption handling in timer callbacks. 

If uncaught exceptions are raised in a timer callback - the entire application is shut down.

Hopefully, this will fix https://websocket4net.codeplex.com/workitem/32 and https://github.com/kerryjiang/WebSocket4Net/issues/9