public boolean close() {
        scheduleClose();
        if ( ! awaitClose(600, TimeUnit.SECONDS)) {
            throw new IllegalStateException("Application failed to terminate within allocated time.");
        }
        return true;
    }
<p>Initiatiates shut down of this TestDriver and waits for it to complete. If shut down fails to complete within
60 seconds, this method throws an exception.</p>

@return True if shut down completed within the allocated time.
@throws IllegalStateException If shut down failed to complete within the allocated time.
jdisc_core/src/main/java/com/yahoo/jdisc/test/TestDriver.java