gracefully handle case where environment being watched is unavailable after R restart