Fixes race condition in FlippableIndexContext where close competed with flip. If close won then flip would result in opening the flipTarget after the index context had been closed.