Close writer in Resource Group