Rule reminder
In complex sentences, each temporal connector governs its own clause independently. Check: 1) the correct connector for the meaning, 2) the required mood (indicativo/congiuntivo), 3) the correct tense for the time frame.
La segretaria aspettò _____ il capo firmasse il documento, poi, _____ lo ebbe consegnato, tornò alla sua scrivania.