tests: fix race condition in tls13/post-handshake-with-cert-pkcs11
This fixes a race condition in a test, introduced by !967 (merged).
Signed-off-by:with name/author being identical to the commit author
- Any issues marked for closing are addressed
- There is a test suite reasonably covering new functionality or modifications
Function naming, parameters, return values, types, etc., are consistent and according to
- This feature/change has adequate documentation added
- No obvious mistakes in the code