Calculate correct stacktrace depth
Changed to --suppress-repeated-stacktrace-interval to suppress stacktrace at certain interval