kryo is not thread safe. we need multiple instances