updated documentation on ~connection()