kill key thread if no key has been pressed and receiving data has finished
Need to link explicitly with pthread library on Linux only
Need to include signal.h for pthread_kill
Merge branch 'ltxdev' into ltxdev_linux