Set RW mutex - fix #2