Make rewinding at the end optional