Removed call to processResponse as response stream is closed at this point and giving IOException