PackageManager: Fix reconnection logic in Installer.

Change-Id: Id4b352647ed51aaf64bb85dff9030a25e295758f
Merge "PackageManager: Fix reconnection logic in Installer." into cm-11.0