session.getAsyncRemote() is not thread safe, must make sure write are serialized