now graceful shutdown is almost done