Fix stuck reconnect (#475)
* retry initial signal connection
* changeset
* move retry logic into rtcEngine
* make maxJoinAttempts configurable
* update changeset
* typo
* move maxRetries into connectOpts
* wip
* more logic in engine
* remove comment
* fix connect logic
* don't reject reconnect promise
* replace reconnectFuture with event driven logic
* changeset
* Update src/room/RTCEngine.ts
Co-authored-by: David Zhao <dz@livekit.io>
* change naming
Co-authored-by: David Zhao <dz@livekit.io>