Hey it is an instance method!! CleanUpClientManager(), so you need add self as a first argument and also you missed ":" here