lli: Plug leaks in the remote target external implementation.