Make pool clients safe for concurrent access with mutex.