Add TaskGroup#synchronize convenience method.