Hide the console when a query succeeds