[5.0] Add protect code for curl handle

No match.