Revert "Fix permament connection object"

This reverts commit 70c56f07b6594b62158fa22b57f4dde365d512ea.