[sd] fixed recursive call to get-connection.