Only start the lr server once the connect server is started

Otherwise it makes every task hangs