uac: release lock when listing records via rpc

- patch by Savolainen Dmitri, FS#484

(cherry picked from commit f63865041136aec65e2f7824967a702b23191364)