based on https://github.com/pytest-dev/pytest/issues/13667#event-19291284642 it seems a pytest.exit is not properly handled