Make test_cbor exit after test run

Not sure if that is the correct approach, but at least "fixes" the issue
for me locally.