Change sig_atomic_t to bool