don't close statement before retry