Bugfix: Duplicate messages were received if you broke out of a 'for msg in input:'.