Thanks,

My issue was actually fixed by resolving a threading issue in my code.