final Database catalog_db = CatalogUtil.getDatabase(controller.getCatalog());
final CountDownLatch resultsToRead = controller.getResultsToReadLatch();
final ProcessSetManager clientPSM = controller.getClientProcessSetManager();
while (resultsToRead.getCount() > 0) {
ProcessSetManager.OutputLine line = clientPSM.nextBlocking();
if (line == null) {
continue;
}
// Print stderr back-out to the console
else if (line.stream == ProcessSetManager.StreamType.STDERR) {