[PATCH openEuler-5.10-LTS 342/559] samples/bpf, xdpsock: Fix race when running for fix duration of time