don't hook 'ended' when media is in loop
test cleanup