Store pid in /tmp