Remove last callsite of ExitGuard in next-build-test
Migrates this to the newer ExitHandler API that can handle async work
during cleanup.
Removing this callsite will let me delete `ExitGuard` from the turbo
codebase potentially avoiding future confusion about what API to use.