add polling instead of online/offline hooks