Check client to propperly detect disconnects