Longpoll Optimization: check queue size and local receive size before
send notification to other node.