removed double lock in logStreamError catcher