Should be able to configure a callback that determines if it should continue running.
Should be able to configure a callback that determines if it should continue running.