fix sharequeue exit