Are you sure the 30s are enough? Maybe the application already exited before it received the SIGTERM?

So I would suggest, trying with in infinite loop and sending the process SIGTERM from another...