Swift can only start running once. Logging changes to endpoint