How to replicate
Open up a gym badge which you have a Pokemon defending in
Switch tab to something else for a bit
Then go back in to pokemon go
If the game didnt shut down it should increase the timer really quickly
I actually hope niantic don’t patch this.