You should be able to close it with the Escape key in addition to Ctrl+C (or Ctrl+D on an empty line)