correct issue where Messages property undefined when no messages returned after long poll