fix https://github.com/sagemathinc/cocalc/issues/3538 by wrapping all calls to refresh in try/catch
fix https://github.com/sagemathinc/cocalc/issues/3538 by wrapping all calls to refresh in try/catch

tscholl2/smc,sagemathinc/smc,DrXyzzy/smc,tscholl2/smc,sagemathinc/smc,DrXyzzy/smc,sagemathinc/smc,DrXyzzy/smc,DrXyzzy/smc,tscholl2/smc,tscholl2/smc,tscholl2/smc,sagemathinc/smc