Fix HTTP server door shutdown