add scenario action 'onError' to perform cleanup after failed scenario