reset metadata sent counter on viewer exit

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>