fix return value from smq_destroy