Since he sued them for copyright infringement, that means they used code they hadn't paid for. If they'd realized they couldn't pay, told him as much and deleted any code developed during the unpaid time span, he might still have tried to sue for damages based on breach of contract, but not copyright infringement.