add check on polling freq in streams.erl