safeApply when the queue ends to reset the controls