Suppress new protocol errors until I work out what is going on
fix memory leak in plugin registration