experiment with io.Writer in poller to we can write it http handler