Changed timeout to -1 for all api