Issue with sendSocketNotification and socketNotificationReceived