Is it a sporadic issue (as in, happens rarely) or is it constant problem? If it's sporadic, you're going to have to be really specific, like how far you where from the vendor, the vendor's model, other things in the vendor. Basically retell what happened in the most detailed way you can and I'll try my best to reproduce it, but things like this are hard to fix unless I catch an error serverside, which you can't do anything about.
I'll look over the code as well. Thanks for bringing it to my attention.