fix reconnecting issue
Merge pull request #10 from NoahShen/exp

fix reconnecting issue