set up timeout function on keyup and then cleared timeout on multiple keyups