.close() io.BufferedReader on python 3