Avoid double-releasing connections

This should be harmless, but might as well avoid it.