Added a test case that exercises (intermittently, however) the race condition between prepare & commit / close.