Clean up baseclient