Court jails cocoa thief