Set the close-on-exec flag, just to be saf