code: func closeResources(handler http.Handler, closers ...io.Closer) http.Handler {
  	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
  		for _, closer := range closers {
  			defer closer.Close()
  		}
  		handler.ServeHTTP(w, r)
  	})
  }
docs: // closeResources closes all the provided resources after running the target
  // handler.