comet socket must close after write to flush message. actor is long lived to maintain session