Revert "defer a close log" as it makes the tests hang (buffering issue?)
Revert "defer a close log" as it makes the tests hang (buffering issue?)

This reverts commit 7d3dd227931712841c4eb9b851b0ba0a89ffeb97.

cocoonlife/gop,trendmicro/gop,jbert/gop