fixed a tiny bug in ServerEventThread.
Merge pull request #35 from bflugon/ServerEventThread

fixed a tiny bug in ServerEventThread.