Inspector: implement async (safe) versions of replayToCompletion and pausePlayback.