refuse_request chain, better exceptions handling