AFL secures lifeline from banks