not 100% cpu anymore and no crash on disconnect