Remove a static, and "signal_received" needs to be sig_atomic_t