Emmit afterResponse event