selftests: netfilter: fix transaction test script timeout handling