Fixed incorrect function call to cancel interval