No longer locking file when there are no leechers. Also reworked the way connections are handled and established.