[PATCH 2/3] leaseshelper: Wait to acquire PID file