Add upstream patch improve-pid-file-handling.patch