Add a short sleep in an attempt to avoid an intermittent test failure.