getlantern/lantern#1839 Added check for destroying peer records on failure