WaitForIt is a particularly slow handler (GET "/waitforit"). Try loading this endpoint and initiating a graceful shutdown (Ctrl-C) or Einhorn reload. The old server will stop accepting new connections and will attempt to kill outstanding idle (keep-alive) connections, but will patiently stick around for this endpoint to finish. How kind of it!
// Sometimes requests take a long time. goji.Get("/waitforit", WaitForIt) // Call Serve() at the bottom of your main() function, and it'll take