Rewrite conn destructor to avoid failure

No reason to bloat code using this