Use an own thread instead of Task for Console/File logging.