break the main loop when .parent() finds a result