better error handling if connection fails
module can tunnel data to daemon