closing server on nextTick, seems to clear up connection issues with server-reload