Clean next/prev pointers from get_work
To ensure queue correctness.
Imported protothreads - checkout the .pdf