Run SQL queries in the Search form in a separate thread which can be stopped by a new button 'Stop' (previously 'Clear')