Properly resubscribe on reconnection.

Improve error handling by catching and logging exceptions.
Merge https://github.com/kordano/goldrausch