Update collector.py

daemon class to demonize the application