Bad contractor locked up for ripping off subcontractors