[zebra] do not touch socket before pidfile locking