fix race condition on error when opening the same file from diffrent threads
drwxr-xr-x - xseg