destroy the client only if it has been created

if creation failed the blessed object would still be destroyed but no
underlying client would be present