Fix #1647 : Cleanup SE cache after API query
Merge pull request #867 from romainneutron/fix-1647

[3.8] Fix #1647 : Cleanup SE cache after API query