protected async Task <ICollection <Guid> > GetAllManagedMediaItemAspectTypes() { while (true) { try { await Activated.WaitAsync().ConfigureAwait(false); return(await _mediaBrowsingCallback.GetAllManagedMediaItemAspectTypesAsync().ConfigureAwait(false)); } catch (DisconnectedException) { await MedialibraryDisconnectedSuspend(); } } }