queue: Wake up the query function on errors from the loop function
queue: Wake up the query function on errors from the loop function

Otherwise we might wait forever for serialized queries to be handled as the
loop function is stopped and as such we will never ever dequeue the query and
handle it.

https://bugzilla.gnome.org/show_bug.cgi?id=745319

mparis/gstreamer,StreamUtils/gstreamer,krichter722/gstreamer,mparis/gstreamer,centricular/gstreamer,shelsonjava/gstreamer,krichter722/gstreamer,mparis/gstreamer,jpxiong/gstreamer,jpxiong/gstreamer,shelsonjava/gstreamer,centricular/gstreamer,centricular/gstreamer,shelsonjava/gstreamer,centricular/gstreamer,StreamUtils/gstreamer,mparis/gstreamer,jpxiong/gstreamer,shelsonjava/gstreamer,shelsonjava/gstreamer,jpxiong/gstreamer,krichter722/gstreamer,krichter722/gstreamer,centricular/gstreamer,StreamUtils/gstreamer,StreamUtils/gstreamer,jpxiong/gstreamer,krichter722/gstreamer,mparis/gstreamer,StreamUtils/gstreamer