set scheduler to use its own thread