added a fix to avoid a hang on early client disconnect
added a fix to avoid a hang on early client disconnect

yifan/kaldi-gstreamer-server,TribeMedia/kaldi-gstreamer-server,claritylab/kaldi-gstreamer-server,alumae/kaldi-gstreamer-server,yifan/kaldi-gstreamer-server,dwks/silvius-backend,yifan/kaldi-gstreamer-server,claritylab/kaldi-gstreamer-server,kdavis-mozilla/kaldi-gstreamer-server,claritylab/kaldi-gstreamer-server,kdavis-mozilla/kaldi-gstreamer-server,kdavis-mozilla/kaldi-gstreamer-server,jbender/kaldi-gstreamer-server,alumae/kaldi-gstreamer-server,claritylab/kaldi-gstreamer-server,jbender/kaldi-gstreamer-server,dwks/silvius-backend,dwks/silvius-backend,TribeMedia/kaldi-gstreamer-server,jbender/kaldi-gstreamer-server,alumae/kaldi-gstreamer-server,TribeMedia/kaldi-gstreamer-server