Clear stringstream before getting job