Send a Disconnect frame on client.Quit()