Trial ends abruptly when father admits to beating his sons