in phoenix-queryserver-it/src/it/java/org/apache/phoenix/end2end/QueryServerTestUtil.java [136:146]
public void stopQueryServer() throws Exception {
if (pqs != null) {
pqs.stop();
}
if (executor != null) {
executor.shutdown();
if (!executor.awaitTermination(5, TimeUnit.SECONDS)) {
LOG.info("PQS didn't exit in 5 seconds, proceeding anyways.");
}
}
}