The earlier bail-out's close() was after unlock, but this one is before.