remove prediction and training threads and get semantic type suggestions on dialog load