Fix. does not run `register` thread