Potential stab-in-the-dark fix for race condition.