add thread managment to bathrooms manager