force exit hook if tasks fails