[PATCH v3] tee: optee: prevent use-after-free when the client exits before the supplicant