Close read/write options after use