- Fixed message logging
  * don't log message to already closed file descriptor