It is possible to harvest these rewards at any time, once they show up they will never dissapear. This can be done by using the Harvest button shown above, or on the autofarm homepage. However, the rewards will also be automatically harvested at each withdraw & deposit action inside the vault.