Stop the event loop if a listener returns an ApiProblem