It depends if acted in accordance with the terms of the contract then it's fine but if he did something not covered by the contract it's theft.
If I run an unmanned lemonade stand out front and leave a pile of money on the table, and say take your change, if you take more than what you're owed that's theft regardless of how easy it was.