prevent stuttering or lagging in background