Wait 2 secondes before closing MockFluentd. Wait 5 seconds before closing MockFluentd if some worker threads are still running