func Close(pipe chan interface{}, err error) {
	if err != nil {
		pipe <- err
	}
	close(pipe)
}
Close closes a pipe and optionally sends an error
package pipe
import (
	"os"
	"os/signal"
)
func New() chan interface{} {
	return make(chan interface{}, 0)
}