reconnect can be called with an unused connection handle.  Fixes #507