rescue from net error on smtp