By using the 3-arg version of `remove`, it avoids the race there, since it'll only remove the identical event--if a new one is put it, it will stay. Was there another race you saw?