Apache Forrest code fix (bug FOR-49)

code fix
by
JJP
(fixes bug FOR-49)

:

Use sync task to clean the tmp directory for xdocs.
Thanks to Dave Brondsema.