should have got pipe shuffling right with an eating thread. it can block, while the main thread goes on it business