Adding a test case that I think will duplicate the prepared statement / cursor issue we're seeing with connection closing.