add feature to start stream from postion
allow stop event.
add log_pos tests