add a check for aeCreateTimeEvent

1) Add a check for aeCreateTimeEvent in function initServer.