make Issue #38 useful for big server cause commands are handle in mainthread