refactor(cloudfunc) removeListener