Add single thread mode