got rid of pyvisa bug caused by the ResourceManager being deleted before the instrument