FIX: small fix in TransferAgent

Inside loop filtering out waiting files dict.