The problem comes with multiple processes competing for the lock.
One preson may have multiple processes reading from /dev/urandom.