Added newlines so it will commit them right away when using tcp4