withCurrentCodec
Runs a short, nonblocking operation only while instance is the running codec. Use after waiting for input outside the codec's lifetime lock.
Return
Whether the operation ran; false means the codec was stopped or replaced.