FELIX-5268: in unregisterService(), also unregister the service if the bundle state is Bundle.STARTING.