public AppServiceAPI createRetrofit(Context context) {
HttpLoggingInterceptor logging = new HttpLoggingInterceptor();
logging.level(HttpLoggingInterceptor.Level.BODY);
OkHttpClient client = new OkHttpClient.Builder().connectionPool(new ConnectionPool(5, AppServiceAPI.TIMEOUT, TimeUnit.SECONDS)).connectTimeout(AppServiceAPI.TIMEOUT, TimeUnit.SECONDS).readTimeout(AppServiceAPI.TIMEOUT, TimeUnit.SECONDS).writeTimeout(AppServiceAPI.TIMEOUT, TimeUnit.SECONDS).addInterceptor(logging).build();
if (retrofit == null) {