If we don't commit the transaction, varnish purges are not sent

The updates still gets saved, but the manually executed SQL in the
post save handler that creates the varnish purge gets rolled back.