fix not reconnecting issue
Merge pull request #189 from somdoron/ReconnectIssue

fix not reconnecting issue