Add public connected state var

- Make retryAttempts public