got the offline getConnection handler working