Added closed db call.