shortened break condition based on error or escape suggested by Adel Benlagra.
Merge branch 'master' of github.com:leosiqueira/uwhpsc_leo