This reverts commit ad1aeba749.
ad1aeba749
@ -33,7 +33,6 @@ type configuration struct {
func closeAndExit(client *xmpp.Client, cancel context.CancelFunc, err error) {
cancel()
time.Sleep(100 * time.Millisecond)
client.Close()
if err != nil {
log.Fatal(err)