How to simultaneously loads one engine file and inference correctly?

Dear Sir

I am using TRT6.0.1.5 and want to loads an engine file

Since I got two cameras doing real time detection, below is what I have tried

  1. loads engine once and using same deserialized engine to detect
    it will crash eventually

  2. loads engine separately to two variables
    the first cameras runs ok and also detect objects normally

but the second cameras detect nothing, but it did not crash.

So, How can I correctly loads one engine file and run inference separately on one machine?
or maybe create different execution context? but how ?

Thank you guys in advanced