Remove listener on periodic task