Fix race condition with tip.