Completed main loop in collector task.
nntp test code implemented in collector.