select timeout doesn't reset