Update daemon.cpp

Using static caller to signal_handler