A closer look at time series anomaly detection