remove some call to icehms, add some try catch to not crasg at shutdown