By running `go mod tidy -go=1.16`, we also automatically convert the "legacy" build tag syntax to use the new Go 1.17 compatible variant.
When an OS reboots or shuts down, it sends all processes SIGTERM before sending SIGKILL. This allows btcwallet to do a proper shutdown which most importantly closes the databases.