I was wondering if it possible to force a restart of the mobile web server from python code?

I guess starting a server instance with e32.start_exe() is probably not much of a problem, but how to kill the current running thread? And preferably there would some better solution.

If anyone have any thoughts please let me know.

best regards,