This is to try and close the underlying filesystems when the FileContext APIs are used. Without this, threads may be leaked