Race conditions are never fun to stomp out.