Put some code into thread to increase startup speed