A Case In Category Of Haram Earning
If he is helpless and can’t survive he can maintain the first agreement and if he can end it but ignored it is his choice and will be answerable for his laziness.
There is no problem with this arrangement.