added after() for after a response is ended.