Add process number to PID file