Bump max_depth to 9 to better support chained exceptions