Fix deletion of whole input

When user removes value using backspace, the last character goes back because the timeout is not cleared and server returns query with last letter which update the input field.