Timeout added for Curses.