Added cycles with the exact number of iterations. Added stop callback in handler.