Testing blocking lock fix for "connection" referenced before assignment.