Stupid exit in a subshell
Fix a conflict with jrdsagent in status + Ensure that pid directoty always exists