Man jailed after false terror threat