HDFS-7180. NFSv3 gateway frequently gets stuck due to GC. Contributed by Brandon Li