Remove daemon code