Add optional error arg to client destroy event