Fixed multiple reconnection
Merge pull request #3 from falsecz/master

Fixed multiple reconnection