When closing MockFluentd, wait 3 seconds until running threads for writing logs are terminated