cleanup pidfile