A fix for onCleanup function weird behavior.
Merge branch 'master' of https://github.com/vicoslab/vot-toolkit