fix timeo reset issue