better exception handling for server side failures;