Changed the timeout to 10s so less SocketTimeoutException will occur.
Now product IDs are retrieved by salesrank.