Going to have to redo the get next chunk system to remove race condition