avoid potential Logger deadlocks in signal handling