Write queue: process one at a time, enqueue if there arent any streamIds available