Core: using select instead of one thread by server