Use close on exec behavior for the read pipe as well