deactivate input queue when the reader exit, so the notifier can exit too