Ulysses spacecraft retires after 17 year mission