Expiring opacity problems in parametric timed automata