Fix escape timeout properly