Exit the nb of iterations in Qlearning (in case it converges...)