Stop counting when the match has finished.
Merge pull request #4 from pepi09/pepa

Stop counting when the match has finished.