Fixed timer issue in call to select() that caused excessive CPU load