Possibility to handle license expiration in timer

I've got standard license and when timer detects its expiration then throws LicenseExpiredException. That happens inside timer context and I haven't got any possibility to handle this exception.
Appended code is adding this possibility.