Check if we had successfully acquired a UPnP mapping before (fixes #627)