avoiding logmanager shutdown