We catch SIGINT and SIGTERM and try to clean up nicely. For other signals we use the default behaviour in Go: https://golang.org/pkg/os/signal/#hdr-Default_behavior_of_signals_in_Go_programs