Swedish ref considered quitting