angshu | made encounter fetch limit configurable. Also made default connection timeout as 10 sec