Third party funding agreements and insolvency proceedings