refactoring variable names, adding discovery retry, start auto reconnect only when connection is made
fixing autoreconnect call, preventing double connect on new notify
Merge branch 'development'