for bug #194, change server main cycle to 1s.