Sock defeats Cilic In A Thriller