Apparatus for controlling the pipe during laying