source: properly shutdown after instance is stopped
client: set keepalive
Merge pull request #5 from bazooka-platform/cleanup

Fix a few goroutine leaks