_execute_script_ptac: check for expired plugin instance