Removed memory leak of spades::client::Client
Fixed reference counting issue