Avoid rescheduling queued functions if already queued.