Fix infinite loop when debugging r2 from lldb