improved logging messages - still deadlocking