https://www.stephenrgraves.com/blog/stop-running-from-rest