Update connection.rb

Removed troublesome "ensure".