Support aborting test by pressing Esc on Linux.