STM: flag to turn off branch reopening

This is useful if a UI does not support that