Graceful shutdown of Pub/Sub consumers in Go | Zamp Blog