Added hadError for ABNORMAL_CLOSURE