fixed typo and also now supports more than one liveQuery per socket