Towards active learning: A stopping criterion for the sequential sampling of grain boundary degrees of freedom