non-atomic set_twice by default