Split up queueing and task deserialization