Adding interruption points in the long running tasks.
Finished feature 57056078/add-interruption-points.