fix exception catching in teardown request.