Better error message on shutdown
Adding crappy bulk support for es, need to clean this up for sure