add polling error limit