Add lock to pidfile to avoid starting multiple processes