Are you from a place where there is a cultural taboo against only drinking part of the beverage a restaurant serves you?
Saying that you "finally managed to finish it" implies that you were putting effort into drinking the entire glass despite not wanting to. And being put out by the fact that the waiter refilled it implies that you felt obligated to drink the refill as well.