httpget better exception handling