Python Stop Program Execution Plan For Construction