Index r1.3.0 hotfix

Cherry picks some commits for orphaned connections. Also fix a the same kind of problem in the input splitters which were resulting in the rest of the leaks.

@jonathantwall