add logging to see when shutdown isn't happening