Revisiting flow generative models for Out-of-distribution detection