You can ensure that this is not a Rebex library related issue by giving the code actually a try.
You will then find out that either (a) it works fine all the time, (b) an exception is happening intermittently, or (c) an exception is happening all the time. I assume that you will discover that (b) is what's going on, which would mean same behavior as Rebex, ensuring this is not a Rebex issue.
However, if you instead find out that (a) is the case, then it would indicate there indeed might be an issue in Rebex library that no one else suffers from, and we would then help you resolve it. (The third behavior (c) is very unlikely.)