Break execution after a single instance has been detected