Block main thread until all log messages sended