improved communication between client and server in order to guarantee death detection