Fix eunit test race condition.