WIP: race condition on close causes double-free
Trace line numbers within macros.
Retry three times, then bail out and return not found.