util_runcmd: Free the fde in event handler.