fix(client): Possible memory leak when deleting client.
fix(client): Possible memory leak when deleting client.

Cleanup of EventLoop and Logger was skipped if there are no SecurityPolicies specified.

open62541/open62541,open62541/open62541,open62541/open62541,open62541/open62541