Basic auth and sigterm emptying of queue