Update closeStream to find original block
Implement advanceBlock