Catch arbitrary exceptions in callback for srpc.