Enter to send·Shift+Enter new line
Close the command stream connection without killing the command.
close(): Promise<void>