Issue #98  - Close connection and remove reference