Added mutex to listen reosurce