Revert "Revert "PackageManager: Fix reconnection logic in Installer.""

This reverts commit ffdcfc4681f11e90014e6a125c6d959f52c9f37c.

Change-Id: If028ab2bd5b6d34c3eed3e30ac8d7782e6946c86