tally the number of tries and remove listner once number of tries has run out