Rollback db changes on error 500 and such