change to handle polling server down