Fixed the status reconnect bug

In the last commit there was bug that the status message even after
successful reconnection kept changing between SUCCESSFULLY RECONNECTED
and RECONNECTING.

This bug is fixed now, after a successful connection status remains
stable.