finish the second pipe
Make the pipes read infinitely
review the logs messages and fix some bugs