Properly deallocate client identity