void addResponse(InvokeResponse response) { response.onClose = _onResponseClose; responses.add(response); }