add nce::internal::fd_lock