I see you are using Golang Init function to start db connection (dont like it much in general because of lack of error handling logic, and lack of testability with global vars) . I'm wondering what is the Golang approach to properly shutdown the DB connection, when Lambda environment decides to stop the Golang instance. Is there any lambda specific handling function you know?