SPARK-2134: Report metrics before application finishes

Just curious, is this a standard coding convention?