MetrixClient cleanup