Move defer out of function body. (#259)
Move defer out of function body. (#259)

After `sse.NewHandler` was moved to fucntion, `defer` was
called everytime handler was created not just before exiting `main`.
allegro/marathon-consul,allegro/marathon-consul