Test for PGX WaitForNotification when connection is lost