Hi,
I've been analyzing the code and watchdog was working as designed, basically watchdog every time there is a disconnection, starts an internal timer and try to reconnect again. The problem here was that when client connects to Server, websocket connection was established successfully and after that, server checks username and closes the connection. So, for watchdog, connection was successful, so was trying to reconnect one time and another.
I've done some changes, so when mqtt protocol is enabled, instead of use WebSocket connection, use MQTT connection event, so will avoid this problem when using Attempts property. I've updated latest beta and will be available for next release.
Thanks for the feedback.
Kind Regards,
Sergio