added a reset reconnect attempts when explicit stop called