Updated to match new zsock_signal signature