--bug reset fileobj in case of multiple request attempts