try catch for the shutdown tracker