changed config property to enum type and handled InterruptedException in PeakNetworkTrafficRetryPolicy