Fixes runtime error on close()

If (*Fluent).close() is called from several goroutines at same time, runtime error like `runtime error: invalid memory address or nil pointer dereference goroutine 656846 [running]` occurs.