interval reference = null when invoke function clearInterval