Maybe LAS-65 fixed

more careful logout, no unregistration of agent, just locking private
key (not sure if not unregistering does any harm, but it saves overhead
and potential problems)