Updated run() method of notification service to retry connection every 5 seconds until connected