Man who threatened ex-wife in drunken rage given last chance