title: How to Close() all the instances of the Realm before deleting its file
body: <p>I got the <code>java.lang.IllegalStateException</code> while trying to delete the <code>realm</code> file.</p>
  
  <blockquote>
    <p>java.lang.IllegalStateException: It's not allowed to delete the file associated with an open Realm. Remember to close() all the instances of the Realm before deleting its file: /data/data/com.mypackage.name/files/filename.realm</p>
  </blockquote>
  
  <p>I used both <code>executeTransactionAsync</code> and <code>executeTransaction</code> method. So, I guess that there is an instance <code>async</code> that I can not close it before delete the whole <code>realm</code> file.</p>
  
  <p>How can I close all the instances of <code>realm</code> or how to delete <code>realm</code> file without getting this exception?</p>