Disconnecting

You should gracefully manage the client disconnection by calling close method. If a connection is not gracefully closed Self messaging servers will kill that connection after one minute.

@client.close
client.Close()
client.close()