Launch the main loop of the agent. This funtion blocks until it quits.
Implemented in ScimBridgeAgentImpl.