small bugfix for erroneous trackers

fixed issue where an erroneous tracker could cause webtorrent to crash because socket.close was already closed after an error state