Unbind service connection in case RKPD times out.

Bug: 371115066
Test: TH
Change-Id: Ic7f2d5c5ffa69476eb42f6020a4cec2036a4ddba
diff --git a/system-server/src/android/security/rkp/service/RegistrationProxy.java b/system-server/src/android/security/rkp/service/RegistrationProxy.java
index 7663741..7385baf 100644
--- a/system-server/src/android/security/rkp/service/RegistrationProxy.java
+++ b/system-server/src/android/security/rkp/service/RegistrationProxy.java
@@ -100,6 +100,7 @@
                     new ComponentName(serviceInfo.applicationInfo.packageName, serviceInfo.name));
             if (!context.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE,
                     UserHandle.SYSTEM)) {
+                context.unbindService(this);
                 throw new RemoteException("Failed to bind to IRemoteProvisioning service");
             }
         }