adding killing for sunrise buffer upon close