Stop working when keyboard pressed. Other things (threads) working well. End is near