fixed closing BufferedReader in readStringFromIS