fix(pid): pidfile creation has a lock

Depends on https://github.com/virgo-agent-toolkit/virgo-base-agent/pull/88