Schedule (process orders, screenID=SO501000) stuck at running/waiting permanently

Order To Cash: Sales Order Version 10.92

Done some performance improvements in process orders, screenID=SO501000. In some circumstances, the process was stuck at running process.