Added support for new logout string (ESC)