clearPid when stoping

Allows to run same process again. (ex. watch task for auto reload)
Merge pull request #3 from cederigo/master

clearPid when stoping