Update TinyTds.rb

Added a check to see if connection to the database was successful