Fixes issues related to auto-reconnect functionality.
Merge pull request #1 from Hebali/master

Fixes issues related to auto-reconnect functionality.