Protect watermark vectors in queue task using spin_rw_mutex to

avoid corruption.