Man guilty of animal cruelty jailed for four months