disable previous enabled refresh system and count on close