[remoting.hub] changed: restore handlers if error is raised while message is being handled (fixes send of unpicklable data)