Add takeUtil to keypress event