Shiny: redirect after instance idle timeout

Is it possible to redirect the app to a different url when the app reaches the time to be stopped?

I am hosting in shinyapps.io, wtih basic plan.

Thanks!