IO thread done queue handling

Change-Id: I147db26faa92b98f7c5c0ab282460d1b2d49bdb0
Signed-off-by: TanelDettenborn <tanel.dettenborn@gmail.com>