*/
public void destroy() {
Command command = this.currentCommand.get();
if (command != null) {
command.setExceptionMessage("Connection has been closed");
command.countDown();
}
while ((command = this.commandAlreadySent.poll()) != null) {
command.setExceptionMessage("Connection has been closed");
command.countDown();
}