             @display_normal()
             @input_query.destroy()
             @data_container.destroy()
-            window.conn.close()
+            try
+                window.conn.close()
+            catch err
+                console.log 'Could not destroy connection'
+                console.log err
             clearInterval @interval
 
     

                    window.conn.close()
            catch err
                #TODO
                console.log err
            host = window.location.hostname
            port = window.location.port

                    port: port
            catch err
                #TODO
                console.log 'Cound not open connection'
                console.log err

        initialize: =>
            if @has_been_initialized.value is false
