MP1-4247 : Another cleaner code to avoid unattended behavior of MediaPortal itself when another running application has registered exclusive Access to the API before.