Roll back on failure and error during after hooks