Fixed problem with host element/connection ownership
Merge pull request #560 from dswd/fix-owners

Fixed problem with host element/connection ownership