Send an op:leave before closing