It doesn't stop unfortunately... I guess I should indeed find a way to refactor this so it stops when success === false.