@Override
public final boolean logoutSession (final ITask task, final Session session) throws Exception {
final Connection connection = session.getNextFreeConnection();
connection.getSession().addOutstandingTask(connection, task);
connection.nextState(new LogoutRequestState(connection, LogoutReasonCode.CLOSE_SESSION));
return true;
}