We encounter issues from iohandler races very commonly on FreeBSD. This workaround is already in the version of LLDB in the FreeBSD tree. It's not pretty but is a significant usability improvement in the short term.
Related PR https://llvm.org/bugs/show_bug.cgi?id=14637