Fixed problem with host element/connection ownership