Fix startProcess context from restartProcess