title: Locking of HDF files using h5py
body: <p>I have a whole bunch of code interacting with hdf files through h5py.  The code has been working for years. Recently, with a change in python environments, I am receiving this new error message.  </p>
  
  <p><code>IOError: Unable to open file (unable to lock file, errno = 11, error message = 'Resource temporarily unavailable')</code></p>
  
  <p>What is interesting is the error occurs intermittently in some places and persistently in others. In places where it is occuring routinely, I have looked at my code and confirm that there is no other h5py instance connected to the file and that the last connection was properly flushed and closed.  Again this was all working fine prior to the environment change.  </p>
  
  <p>Heres snippets from my conda environment:</p>
  
  <p><code>h5py                      2.8.0            py27h470a237_0    conda-forge
  hdf4                      4.2.13                        0    conda-forge
  hdf5                      1.10.1                        2    conda-forge
  </code></p>