Getting away with race condition?