threadManager should be properly implemented now