removeEventListener when game finished