io: store reference to thread information in the QIOTask struct