public boolean isDone() {
            return packetQueue.isEmpty();
        }
Processes stanzas that could not be delivered to a remote domain, by generating error responses where
appropriate.

@param packet The stanza that could not be delivered.
xmppserver/src/main/java/org/jivesoftware/openfire/server/OutgoingSessionPromise.java