#552
#552, #125 lint
Merge pull request #553 from joola/feature/#552

#552 drain http(s) before shutdown