before event that allows avoiding restify handling