This is to make sure DB changes are commited