(temporary) add printouts to queries, to help with tracking which queries are not finishing