handle project closing during commitAndRunReadAction