Add a feature of pull timeout for NamedPipe.