* copy the FD so we're safe of other threads setting it to -1 meanwhile