"Execute as a script" stops working

I run TOAD for Oracle 12.9.
When my connection to the database times-out after some inactivity (i.e. longer time writing the code w/o compilation or any SQL queries) then the error appears when I try to run anything on the database (BTW, this creates an exception in 13.1 trial version).
This would not be anything special - I just hit "reconnect" icon. Unfortunately, after such error "Execute as a script" stops working - you can click it but nothing happens. "Execute via TSR" works OK and "Execute at caret" work fine...
Is there anything I can do with it?