Fix connection sharing