How to Get Rid of a Faulty Plugin?

Do you mean your SSH session disconnects while rebuilding?

If so, try running within screen. That’ll help if you don’t have a great connection via SSH.