[lnst] Move _docleanup out from slave xmlrpc initialization