Hdfs browser plugin could cause socket leaks if unexpected exceptions occurs. Making sure that every open has corresponding close.