only 1 writing thread will be supported
clients will be disconnected after battle matching