Add missing newline and timeout for interactive mode.