Maintenance of habituation by infrequent stimulation