Implement Stop for RawServer with thread safe channels.