Makes pump sync so that it can be run in a thread.

def run(self):
        """
        Makes pump sync so that it can be run in a thread.
        """
        self.loop = asyncio.new_event_loop()
        self.loop.run_until_complete(self.open_async())