Libtorrent write cache adjustment