exceptions handle when connection or response fails