Update Connection.rb

Fixing timeout bug ... variable not used