Rough in-memory persistence for tasks (probably horribly un-idiomatic but I'm learning here.. )