Made TerminatingWithPathSpecimenBuilder thread-safe,

by maintaining the stack of requests on a per-thread basis.