instead of reading the last lines added to history, empty the history cache and reload the new history file