Wait for updating statistics.