changed MoreMessages flag to Terminated in server