         connect: =>
             # Whether we are going to reconnect or not, the cursor might have timed out.
             @container.saved_data.cursor_timed_out = true
+            if @timeout?
+                clearTimeout @timeout
 
             if @connection?
                 if @driver_status is 'connected'


            @driver_handler = new DataExplorerView.DriverHandler
                container: @

            @render()


            @results_view.cursor_timed_out()
            # We fail to connect, so we display a message except if we were already disconnected and we are not trying to manually reconnect
            # So if the user fails to reconnect after a failure, the alert will still flash
            @.$('#user-alert-space').hide()
            @.$('#user-alert-space').html @alert_connection_fail_template({})
            @.$('#user-alert-space').slideDown 'fast'
            @reconnecting = false
            @driver_connected = 'error'

