Fixed bug in activityclient

Removed device only needs to be called in th destructor when the client
was connected