the socket won't close...

pieceNum (# ones in bitfield) decreases all the time, even it received
a piece from other peers, maybe this is the reason