add logging to shutdown handlers