Added activePolling option