Flush buffers on unhandled exception to log message in case of async logger (close #171)
Merge pull request #196 from solyutor/flushbuffers

Flush log buffers on unhandled exception