Fixup into commit 0ccccdba71d39436d5282545bb92db72c9566c6d (squash before merge)
Fixup into commit 0ccccdba71d39436d5282545bb92db72c9566c6d (squash before merge)

Wrap test run into anonymous function as to not leak timeout related resources.

Signed-off-by: Lennard Eijsackers <4663cc15987d42b535ce80defba5e3f0713b5702@gmail.com>

tsandall/opa,tsandall/opa,open-policy-agent/opa,open-policy-agent/opa,tsandall/opa,tsandall/opa,open-policy-agent/opa,open-policy-agent/opa,open-policy-agent/opa,open-policy-agent/opa,tsandall/opa,tsandall/opa