Capello says thanks and goodbye