minor cleanup
rescue broken pipes in registration attempts