You need to create the timer variable in the strategy and pass it to the subroutine as a parameter.
Also, see this: