now I am setting it to zero after timeout