[LOGMGR-65] Fix possible deadlock issue when reportError is invoked.

[LOGMGR-65] Fix possible deadlock issue when reportError is invoked.