Clean up hsReaderWriterLock