Add SIGQUIT and SIGTERM handlers to collectd driver. Exit when cannot read from oned pipes