MRI 1.8 thread fix to avoid blocking accept()