Adaptive Stopping Rule for Kernel-based Gradient Descent Algorithms