Former TD jailed for five months for fraud