fixed an issue with messages being dropped sometimes

because of filedescriptors being reused and still set to non-blocking
because previously used in an iomux