fixes error notifications for http client failures and corrects WS ping logic