fixed event_neonserv_mode.c multi-thread support