tests: internal: flb_event_loop: inverted the pipe close and event loop delete operations so it works as expected in macos
tests: internal: flb_event_loop: inverted the pipe close and event loop
delete operations so it works as expected in macos

Signed-off-by: Leonardo Alminana <7610bae85f2b530654cc716772f1fe653373e892@calyptia.com>

nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit