Deadlock in FGameplayMediaEncoder

Steps to Reproduce
This issue is intermittent, but I’ve been able to reproduce this by stopping and restarting `FHighlightRecorder` multiple times in one session.