how to restart always-on task faster?

I run a python shell in always-on task, Sometime I need modify this python shell , then It's need 5~10 minutes to stop and restart always-on task, How can I restart always-on task faster? or how can I make new python shell take effect with not restart always-on task?

We plan to make it faster, but there is a hack you may use now. Display the processes list on the bottom of the task page and manually kill the process. The system will automatically restart and pick your new code. It should be faster.