Add timer to let socketIO connect