restart pythonserver on deploy.