index_update task: wait for asyncwriter thread
index_update task: wait for asyncwriter thread

we shouldn't exit task before writer has actually written
content. We mostly use Asyncwriter to not worry about obtaining a writer.

abilian/abilian-core,abilian/abilian-core,abilian/abilian-core,abilian/abilian-core,abilian/abilian-core