Man who threatened to kill ex-wife, family will remain behind bars