timeout on long resizes instead of hosing the x server