did some testing and improvement for Polling, especially regarding exceptions during path detection