use a size 1 boolean array as a mutable cell

an atom seems overkill here, this is a one time transition from false to
true and the location is only ever going to be available within one
thread.