You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: db_session.go
    path of file: ./repos/steampipe/pkg/db/db_common
    
    the code of the file until where you have to start completion: package db_common

import (
	"log"
	"time"

	"github.com/jackc/pgx/v5/pgxpool"
)

// DatabaseSession wraps over the raw database connection
// the purpose is to be able
//   - to store the current search path of the connection wi
    
func (s *DatabaseSession) Close(waitForCleanup bool) {
	if s.Connection != nil {
		if waitForCleanup {
			log.Printf("[TRACE] DatabaseSession.Close wait for connection cleanup")
			select {
			case <-time.After(5 * time.Second):
				log.Printf("[TRACE] DatabaseSession.Close timed out waiting for connection cleanup")
			case <-s.Connection.Conn().PgConn().CleanupDone():
				log.Printf("[TRACE] DatabaseSession.Close connection cleanup complete")
			}
		}
		s.Connection.Release()
	}
	s.Connection = nil

}