Move active context creation, active callable creation, packet length test out of loop.
Attach a file by drag & drop or click to upload