Early signs of distress in credit markets