Low: remote: Fixes memleak in internal remote resource agent