Add the cleanup code for the region db connection