Set timeout to cancel tap.