ALM-152 clean up backtraces before storing them