Golden rule for interrupts.
Once in get out as quick as possible.
My guess is GOSUB a time or two will violate the golden rule.

Yes, seeing the whole code could help