Fixed an issue where the remote polling code was polling multiple times each time.