Wait a moment to make sure cache is closed properly when submitting to renderfarm

(this allows to avoid issues with shared nfs drives)