Dispose StringReader
Prevent multiple iterations of tasks.
Extract I/O from poller