def run_sync(self):
while self.connected:<EOL><INDENT>try:<EOL><INDENT>self.pump_reader()<EOL><DEDENT>except PacketDecodeError as e:<EOL><INDENT>logger.warning("<STR_LIT>", e)<EOL><DEDENT>except ConnectionError:<EOL><INDENT>break<EOL><DEDENT><DEDENT>
Runs the message loop until the Pebble disconnects. This method will block until the watch disconnects or
a fatal error occurs.

For alternatives that don't block forever, see :meth:`pump_reader` and :meth:`run_async`.