After the trial is completed, the court may immediately pronounce judgment or take the case under advisement.