increased the timeout sec from 30 to 120 and added batching if batch size exceeds 50(thats where it seems to cause problem)