bug fix for client not disconnecting v2