MB-19278: Fix lock-order inversion on ActiveStream::streamMutex