an idea to prevent the actual effort of remapping an existing printer, use the same logic that you have to unmap the printers, to check if the printer is already mapped.

it will take a few extra lines of code, but if it prevents the time delay of the system trying to map an already existing printer, it should do the trick.