fixed deadlock in logger