Using ClosureSerializer in submitTask