fix segfault on test request GC