Handler finalization

Hi, I've found would be nice to have some callback on end of request processing for clean up. My use case was delete redis subscription on handler finalization.