Fixing npe on polling service when node is not found