done with push notification and websocket error conditions