Refactor: Improved design by making the connection a method local
variable always