EVENT Client: parametrize when to close the fd on detach or not