Implement thread-safe start of Pipe.