In the film "Basse Normandie" of Simon Regiani and Patricia Mazuy, I saw this subtitle, is it possible
I have been working while I wait for you
I think it should be:
while I was waiting or while I waited
Because when the character said that sentence the wait was over but the character was still working.