fixed tmp/pids issue with stop then start