they strolled slowly to the end of the terrace , exchanging commonplaces with each other , and pleasantries with passersby , until they had gained the freedom of the yard , where they hesitated for a moment .