Lack of atomicity makes me sad; I think it might be better to forbid this than to try to handle it.