Changed CustomException to ApiException
Chaged ProcessRequest -> SendRequest to better reflect the nature of the method
Added better resource management/disposal when sending API request