recorder: switch stop variable to volatile