Note that the rqt_rviz package has known, long-standing threading issues that affect its stability. Depending on your use-case, it may be best to write plugins directly for rviz to add the functionality you need, rather than integrating it with external rqt plugins.