Clear trace_error variable from closure so it can potentially be garbage collected.
Merge pull request #8 from jwalton/master

Fix for memory leak.