Prevent races