Python Socket Io Asynchronous Development