add workdir.clean option and run .Rserve.done() also in OCAP mode