The Instrument.close() method hanging (or throws a timeout exception) if ctrl+c was pressed during a read operation.
Some instrument commands consume time (eg.: saving/fetching screenshot of the oscilloscope). If I press Ctrl+C during an ask() or read(), the close()method cannot finish properly: it throws timeout error after the timeout time has been elapsed, which timeout must be big in some cases (because of the time consuming commands.)