I would kindly ask you to add a handler for SIGTERM. Related: https://www.npmjs.com/package/connect-ready https://github.com/RisingStack/kubernetes-graceful-shutdown-example