Fix WaitForChange call for unknown sessions