Hi,
about 1:
the connection loop is infinite, this is not an error. Note that the reconnection loop is not a strict loop as the error and the reconnection attempt live on different threads so it's strange that you get a 100% cpu load (I was unable to reproduce such behavior, do you have an example that I can try?). Anyway I've added a 100ms pause for the next release, hope that helps.

I've noticed that it's impossible to stop the loop, you're right, I fixed it.


Thank you very much for your feedback.