Add "race" into the parameter Form for the race condition by the file locking
Fix to close a file when it fails to be set FD_CLOEXEC