added thread safe piece selection strategy for leechers