If I understand correctly, you can only achieve what you are looking for in a compiled component as explained here.
As a workaround, you can expire a floating parameter instead of the main component:

ParameterExpiration.gh (5.2 KB)
1 Like