close connection pool after using it