I have used application lifetime events -ApplicationisStopping and is Stopped for catching the EC2 termination events but events are not getting catched.
public v