Implemented in-the-mean-time thing for https://github.com/Automattic/socket.io/issues/1908#issuecomment-66836641