Can we correct this sentence?:
"When you were calling I had not had an internet connection".
I've decided that Past Perfect Tense in the second part of sentence is appropriate because an incident with a connection occurred before call starting and there was no internet connection during call. But i'm not sure.