(b)any other payment, he shall, within the period aforesaid, refund to the tenant a sum which shall bear the same proportion to the total amount so received, as the unexpired portion of the contract, agreement or lease bears to the total period of contract, agreement or lease: