This error comes from the underlying PKCS#11 module. NCryptoki simply returns what the underlying module returns back.
Are you working in a multithread process? i.e.are you calling that piece of code in different threads?
If so this may cause this strange problem. Try to initialize the Cryptoki object by passing true to say to the underlying PKCS#11 module to work in multithreading:
cryptoki.Initialize(true);