Get rid of skipBuffer data race

Use ioutil.Discard instead of skipBuffer. This is needed to get rid of a data race reported by Go Thread Sanitizer, and to avoid unnecessary memory contention between multiple threads.