#22: Support pause and restart in framework