Fix stop stream even if there is no more positions in the stream
Fix stop stream even if there is no more positions in the stream

Add a control stream to signal when to stop taking values from the position stream.

This change is due takeWhile evaluates the condition after receiving the next value
and in this case there is not guarantee of receiving an extra position.

edina/fieldtrip-position-tracking,edina/fieldtrip-position-tracking