try a better reconnect
Merge pull request #321 from SuperCowPowers/fix_reconnect

try a better reconnect