Stop hapi gracefully on SIGINT and SIGTERM
npm install hapi-exit

Plugin intercepts SIGTTERM and SIGINT and ensures that server.stop() is called.
server.stop()