Usually, if you want to break out of a JavaFX Task...
# tornadofx
c
Usually, if you want to break out of a JavaFX Task, you'll work with the Task.cancel method but your code needs to check the isCancelled flag.