Reuse lockfile as pidfile. Fixes wrong initial pid